Skip to content

feat: team-scoped project isolation and legacy seed data removal - #14

Merged
roccoppp merged 2 commits into
masterfrom
l-mendez/remove-seed-data
Apr 2, 2026
Merged

roccoppp merged 2 commits into
masterfrom
l-mendez/remove-seed-data

Conversation

@l-mendez

@l-mendez l-mendez commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove hardcoded NovaPay seed data and add team-level project scoping to isolate projects per workspace.

Seed data cleanup: Replaces seedSampleData() with cleanupSeedSampleData() that runs on plugin activation to delete the 4 legacy Spanish-language projects (Plataforma de Pagos, App Móvil, Panel de Administración, Infraestructura) along with their issues, labels, and cycles.

Project scoping: Introduces a Scope field on projects and an X-Oli-Team-Scope HTTP header. The desktop app extracts the current team slug from the Mattermost URL and sends it with every plugin API request. The server filters all project/issue/label/cycle responses to only return data matching the requesting team's scope. Projects created without a scope are hidden from scoped requests.

All API endpoints updated: listProjects, createProject, getProject, updateProject, deleteProject, and all issue/label/cycle/search/context endpoints now enforce scope boundaries.

Ticket Link

N/A

Checklist

  • Added or updated unit tests (required for all new features)
  • Has UI changes
  • read and understood our Contributing Guidelines

Device Information

This PR was tested on: macOS (Darwin 24.6.0)

Release Note

Added team-scoped project isolation so each workspace only sees its own projects. Removed legacy NovaPay seed data with automatic cleanup on plugin activation.

l-mendez and others added 2 commits April 1, 2026 00:36
Replace hardcoded NovaPay seed data with cleanup logic that removes legacy
projects on plugin activation. Add project scoping by team via X-Oli-Team-Scope
header so each workspace only sees its own projects, issues, labels, and cycles.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@roccoppp
roccoppp merged commit dd9a1ee into master Apr 2, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants